home *** CD-ROM | disk | FTP | other *** search
/ Cinema Studio: Frank Herrmann / Cinema Studio - Frank Herrmann.iso / tools / dust / dusthelp / functions < prev    next >
Text File  |  1995-05-24  |  1KB  |  32 lines

  1.                           Functions
  2. -----------------------------------------------------------------
  3.   All Dust-commands allow mathematical expressions instead of
  4.   plain numbers, other commands require expressions containing
  5.   special variables:
  6.  
  7.    1. Special parameters required by the FUNC-commands:
  8.      X0 - initial x-coordinate
  9.      Y0 - initial y-coordinate
  10.      Z0 - initial z-coordinate
  11.      T0 - parameter
  12.    Example: You want to plot the 2D-Function sin(x^2+y^2):
  13.     -load a plane (dimensions -50..-50,-50..50,0..0)
  14.     -now enter "func(2,"30*sin(x0*x0/30+y0*y0/30)",0,z)"
  15.    This uses the x- and y-coordinates to modify the"
  16.    z-coordinate of the plane."
  17.  
  18.    2.Constants
  19.      'pi', 'ee' (2.71..)
  20.  
  21.    3.Operators
  22.      '+','-', ':-(', '/', '^'
  23.  
  24.    4.Functions
  25.       'jump','entier','int','abs','sqr','sqrt',
  26.       'exp','ln','log','log10','log2','tentox','twotox',
  27.       'sin','arcsin','cos','arccos','tan','arctan',
  28.       'sinh','cosh','tanh','artanh', 'degtorad','radtodeg',
  29.       'rnd','fac','ceil','floor','round');
  30.  
  31.   NOTES: 1. All angles in degrees.
  32.